package com.snap.vseries;

import com.itextpdf.text.pdf.BaseFont;

/**
 * 存放一些跳转的key值。
 * 以及一些枚举（android不推荐枚举）所以用int罗列各种情况
 */
public class Constants {

    //实验状态
    public static final int EXP_STATE_IDLE = 0;

    //实验状态
    public static final int EXP_STATE_RUNNING = 1;//运行中
    public static final int EXP_STATE_FINISH = 2;
    public static final int EXP_STATE_INTERRUPT = 3;
    public static final int EXP_FINISH_NORMALLY = -1;
    public static final int EXP_FINISH_MANUALLY = -2;
    public static int A7_COUNT = 28;

    //样本的4种标签
    public static final int SAMPLE_TAG_UNKNOWN = 1001;
    public static final int SAMPLE_TAG_STANDARD = 1002;
    public static final int SAMPLE_TAG_NEGATIVE = 1003;
    public static final int SAMPLE_TAG_POSITIVE = 1004;
    public static final int SAMPLE_TAG_CLEAR = 0;

    public static final int[] CHANNEL_DEFAULT_COLORS = {0xff509CF9, 0xff79C03A, 0xffffd40c, 0xfff95050};
    public static final int[] CHANNEL_DEFAULT_COLORS_A50 = {0x7f67a8f5, 0x7f74d669, 0x7ffee05c, 0x7fff717f};
    public static final int[] CHANNEL_OPTION_COLORS = {
            0xff509CF9, 0xff79C03A, 0xffffd40c, 0xfff95050,
            0xFFF8C470, 0xFF4EDBFF, 0xFF78A5F5, 0xFF7865FD,
            0xFFE46CFC, 0xFFD41050, 0xFF7E0707, 0xFF43069A,
            0xFF1D3A9F, 0xFF186053, 0xFF0F4911, 0xFFB02E00,
    };
    public static final String CLONE_ANALYZE_FIT = "ChartAmpFitFragmentClone";
    //Ct值计算策略
    public static final int CALC_STRATEGY_CURVATURE = 0;//曲率法
    public static final int CALC_STRATEGY_SECOND_DERIVATIVE = 1;//二阶导数法
    /**
     * 默认为定性分析
     */
    public static final int EXPERIMENT_TYPE_QUALITY = 0;

    /**
     * 定量分析，标准曲线设置
     */
    public static final int EXPERIMENT_TYPE_QUANTITY = 1;
    /**
     * 熔解曲线
     */
    public static final int EXPERIMENT_TYPE_MELT = 2;
    //↓↓↓↓举例↓↓↓↓
    public static final String KEY_EXP = "key_exp";
    public static final String NormalFont = "assets/sans.ttf";
    public static final String NormalEncoding = BaseFont.IDENTITY_H;
}
